#!/usr/bin/python
# -*- coding: UTF-8 -*-

#! encoding = utf-8

from lib.fenshen import Fenshen
import sys

def start_fenshen(device_id, app_name):
    device = Fenshen(device_id)
    device.start_once(app_name)

if __name__ == "__main__":
    device_id = sys.argv[1]
    app_name = sys.argv[2]
    start_fenshen(device_id, app_name)